package com.yuanfeng.goods.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.goods.entity.GoodsBrandCatEntity;
import com.yuanfeng.goods.mapper.GoodsBrandCatMapper;
import com.yuanfeng.goods.service.GoodsBrandCatService;
import com.yuanfeng.goods.vo.GoodsBrandCatParamVO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName GoodsBrandCatServiceImpl
 * @Description  商品品牌分类表
 * @Author cyp
 * @Date 2023-06-26 13:50:11
 * @Version 1.0
 **/
@Service
public class GoodsBrandCatServiceImpl extends ServiceImpl<GoodsBrandCatMapper, GoodsBrandCatEntity>
        implements GoodsBrandCatService {

    @Override
    public ResponseResult selectByBrandCat(Map<String, Object> objectMap) {
        List<GoodsBrandCatParamVO> goodsBrandCatParam = this.baseMapper.selectBrandCatList(objectMap);
        return ResponseResult.success(goodsBrandCatParam);
    }
}
